import com.sun.security.jgss.GSSUtil;

public class Main {
    public static void main(String[] args) {
        int a = 3;
        Integer a1 = a;//装箱
        int a2 = a1;//拆箱


        //1.包装类可以把基本类型转换成字符串形式
        Integer i3 = 23;
        String rs = i3.toString();
        System.out.println(rs+1);


        String rs1 = Integer.toString(24);
        System.out.println(rs1+1);

        String rs2 = i3+"";
        System.out.println(rs2+1);

        String number = "23";
        int age = Integer.parseInt(number);
        //int age = Integer.valueOf(number);
        System.out.println(age+1);

        String number1 = "99.9";
        double score = Double.parseDouble(number1);
        //double score = Double.valueOf(number1);
        System.out.println(score+0.1);
    }
}
